package ypmits.videoplayer {

	/**
	 * @author Dave Lenz
	 */
	public interface IVideoPlayer {
		function setBufferTime( time : Number = .1 ) : void;
		function setBufferSprite( sprite : IVideoBuffer ) : void;
		function setBackgroundSprite( sprite : IVideoBackground ) : void;
		function setAutoPlay( autoplay : Boolean = false ) : void;
		function show() : void;
		function showDone() : void;
		function hide() : void;
		function hideDone() : void;
		function mute() : void;
		function resumeAudio() : void;
		function dispose() : void;
		function play() : void;
		function seekPercentage( percentage : Number ) : void;
		function seek( time : Number ) : void;
		function resize( width : Number, height : Number, keepproportions : Boolean = true ) : void;
		function load( name : String = null, url : String = null, autoplay : Boolean = false, buffertime : Number = .1 ) : void;
	}
}
